<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Search For Flights</title>
</head>
<body>

	<h1>Search for Flights</h1>

	<spring:nestedPath path="flightSearchCriteria">
		<form action="" method="post">
			<table>

				<tr>
					<td>Depart From:</td>
					<td><spring:bind path="departureAirport">
							<input type="text" name="${status.expression}"
								value="${status.value}" />
						</spring:bind>
					</td>
					<td>Depart On:</td>
					<td><spring:bind path="dapartureDate">
							<input type="text" name="${status.expression}"
								value="${status.value}" />
						</spring:bind> <span style="font-size: smaller">(dd.MM.yyyy)</span>
					</td>
				</tr>

				<tr>
					<td>Arrive At:</td>
					<td><spring:bind path="arrivalAirport">
							<input type="text" name="${status.expression}"
								value="${status.value}" />
						</spring:bind>
					</td>
					<td>Arrive On:</td>
					<td><spring:bind path="arrivalDate">
							<input type="text" name="${status.expression}"
								value="${status.value}" />
						</spring:bind> <span style="font-size: smaller">(dd.MM.yyyy)</span>
					</td>
				</tr>

				<tr>
					<td />
					<td><input type="submit" value="Search" /></td>
					<td />
					<td />
				</tr>

			</table>
		</form>
	</spring:nestedPath>

</body>
</html>